package com.stagechatserver.chatserver.runner;

import com.stagechatserver.chatserver.service.impl.NettyWebSocketServer;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author yxl
 * 
 * 2024.06.21
 */
@Component
public class NettyCommandLineRunner implements CommandLineRunner {
    
    @Resource
    private NettyWebSocketServer nettyServer;
    /**
     * Callback used to run the bean.
     *
     * @param args incoming main method arguments
     * @throws Exception on error
     */
    @Override
    public void run(String... args) throws Exception {
//        nettyServer.onOpen();
    }
}
